package com.hua.designpattern.creational.builder;

import java.util.List;

public class Director {
	BuilderMeal builderMeal = null;

	public Director(BuilderMeal builderMeal) {
		System.out.println("Director!!");
		this.builderMeal = builderMeal;
	}

	public void produceMeal(List<Drink> drinks, List<Burger> burgers) {
		System.out.println("invoke produceMeal!!");
		this.builderMeal.builderBurger(burgers);
		this.builderMeal.builderDrink(drinks);
	}
}
